package com.cragon.interfaces.impl;

import com.cragon.interfaces.AnimalDao;
import com.cragon.interfaces.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @Author: ZHOUHAILONG
 * @Date: 2020年10月23日 14:55
 */
@Component
public class UserDaoImpl implements UserDao {
	@Autowired
	private AnimalDao animalDao;

	@Override
	public void say() {
		System.out.println("Hello! " + animalDao.getClass().getName());
	}
}
